<template>
    <div>
        <link rel="stylesheet" href="APlayer.min.css">
        <div id="aplayer"></div>
        <!-- <script src="APlayer.min.js"></script> -->
    </div>
</template>

<script setup>
import 'aplayer/dist/APlayer.min.css';
import APlayer from 'aplayer';
const ap = new APlayer({
    container: document.getElementById('aplayer'),
    audio: [{
        name: 'name',
        artist: 'artist',
        url: 'url.mp3',
        cover: 'cover.jpg'
    }]
});
</script>

<style lang="scss" scoped></style>